package com.example.spring.jpa.specification;

import javax.persistence.criteria.CriteriaBuilder;
import javax.persistence.criteria.Path;
import javax.persistence.criteria.Root;
import java.util.Map;

/**
 * @author: orange
 * @create: 2023-07-24 23:30
 * @description:
 */
public class GenerateApplicationContext {
    private Root<?> root;
    private CriteriaBuilder builder;
    private Path<?> path;
    private String left;
    private String right;
    private String operation;
    private Map<String, Object> objectMap;

    public Root<?> getRoot() {
        return root;
    }

    public void setRoot(Root<?> root) {
        this.root = root;
    }

    public CriteriaBuilder getBuilder() {
        return builder;
    }

    public void setBuilder(CriteriaBuilder builder) {
        this.builder = builder;
    }

    public Path<?> getPath() {
        return path;
    }

    public void setPath(Path<?> path) {
        this.path = path;
    }

    public String getLeft() {
        return left;
    }

    public void setLeft(String left) {
        this.left = left;
    }

    public String getRight() {
        return right;
    }

    public void setRight(String right) {
        this.right = right;
    }

    public String getOperation() {
        return operation;
    }

    public void setOperation(String operation) {
        this.operation = operation;
    }

    public Map<String, Object> getObjectMap() {
        return objectMap;
    }

    public void setObjectMap(Map<String, Object> objectMap) {
        this.objectMap = objectMap;
    }
}
